package com.teamin.vo;

import com.teamin.entity.CircleUserEntity;
import com.teamin.entity.MessageEntity;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * 工作圈列表
 */
public class CircleVO {

    @ApiModelProperty(value = "圈子ID")
    private Long circleId;

    @ApiModelProperty(value = "圈子名称")
    private String circleName;

    @ApiModelProperty(value = "圈子图标")
    private String img;

    @ApiModelProperty(value = "任务总数")
    private Integer totalTask;

    @ApiModelProperty(value = "已完成任务数")
    private Integer completedTask;

    @ApiModelProperty(value = "未读消息总数")
    private Integer totalUnread;

    @ApiModelProperty(value = "最后一条未读消息")
    private MessageEntity lastUnreadMessage;

    @ApiModelProperty(value = "圈子成员列表")
    private List<CircleUserEntity> userList;

    @ApiModelProperty(value = "置顶状态")
    private Integer stick;// 置顶的状态

    @ApiModelProperty(value = "置顶的时间")
    private Date stickTime;

    public Date getStickTime() {
        return stickTime;
    }

    public void setStickTime(Date stickTime) {
        this.stickTime = stickTime;
    }

    public Long getCircleId() {
        return circleId;
    }

    public void setCircleId(Long circleId) {
        this.circleId = circleId;
    }

    public String getCircleName() {
        return circleName;
    }

    public void setCircleName(String circleName) {
        this.circleName = circleName;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getTotalTask() {
        return totalTask;
    }

    public void setTotalTask(Integer totalTask) {
        this.totalTask = totalTask;
    }

    public Integer getCompletedTask() {
        return completedTask;
    }

    public void setCompletedTask(Integer completedTask) {
        this.completedTask = completedTask;
    }

    public Integer getTotalUnread() {
        return totalUnread;
    }

    public void setTotalUnread(Integer totalUnread) {
        this.totalUnread = totalUnread;
    }

    public MessageEntity getLastUnreadMessage() {
        return lastUnreadMessage;
    }

    public void setLastUnreadMessage(MessageEntity lastUnreadMessage) {
        this.lastUnreadMessage = lastUnreadMessage;
    }

    public List<CircleUserEntity> getUsers() {
        return userList;
    }

    public void setUsers(List<CircleUserEntity> users) {
        this.userList = users;
    }

    public Integer getStick() {
        return stick;
    }

    public void setStick(Integer stick) {
        this.stick = stick;
    }
}
